﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class 开开心心 : Form
    {
        public 开开心心()
        {
            InitializeComponent();
        }

        private void 开开心心_Load(object sender, EventArgs e)
        {
           MessageBox.Show("大家好木头！");
        }

        private void 开开心心_MouseClick(object sender, MouseEventArgs e)
        {
            Form2 form2 = new Form2();

            form2.Show();


        }

        private void 开开心心_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            MessageBox.Show("消息的主要内容", "消息标题",MessageBoxButtons.YesNoCancel,MessageBoxIcon.Information);
            if (Resize == DialogResult.OK)

                MessageBox.Show("你点击了同意，就很好了！");

            MessageBox.Show("你点击了不同意就不好了！");


        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
